//
//  UILable+Extension.swift
//  weibo1
//
//  Created by apple on 15/11/6.
//  Copyright © 2015年 apple. All rights reserved.
//

import UIKit
extension UILabel{
    convenience init(title: String, fontSize: CGFloat = 14,color: UIColor = UIColor.darkGrayColor())
    {
        self.init()
        
    text = title
    // 界面设计上，避免使用纯黑色
    textColor = color
    font = UIFont.systemFontOfSize(fontSize)
    numberOfLines = 0
    textAlignment = NSTextAlignment.Center
    
   
}
}